﻿<%@ Page Language="C#" MasterPageFile="~/admin/Admin.master" AutoEventWireup="true" CodeFile="A_MatHang_insert.aspx.cs" Inherits="admin_A_MatHang_insert" Title="Untitled Page" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="menuPlaceHolder" Runat="Server">

<div id="nav">

    &nbsp;<table style="width: 151px">
        <tr>
            <td style="width: 100px; height: 13px">
                <img src="../admin/images/danhmuc%20copy.png" style="width: 159px; height: 35px" /></td>
        </tr>
        <tr>
               <td align="left" style="width: 100px; background-color: #515856; height: 16px;">
                 <a href="A_mathang.aspx">
                     <img src="../admin/images/ArrowR2.gif" />DSách sản phẩm</a></td>
        </tr>
         <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_mathang_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />DSách loại hàng</a></td>
        </tr>
         <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 9px;">
                <a href="A_KhachHang.aspx">
                    <img src="../admin/images/ArrowR2.gif" />DSách khách hàng</a></td>
        </tr>
         <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 9px;">
                <a href="A_KhachHang.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Doanh nghiệp</a></td>
        </tr>
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_NhanVien_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />DSách nhân viên</a></td>
        </tr>
         <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_phieuDeal.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Phiếu Deal</a></td>
        </tr>
          <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 16px;">
                <a href="A_Donhang.aspx"> 
                    <img src="../admin/images/ArrowR2.gif" />Đơn Hàng</a></td>
        </tr>
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_mathang_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Thêm  sản phẩm</a></td>
               
        </tr>
        
       
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_mathang_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Thêm  loại hàng</a></td>
        </tr>
      
        
        
       
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_KhachHang.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Thêm khách hàng</a></td>
        </tr>
        
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_NhanVien_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Thêm  nhân viên</a></td>
        </tr>
       
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_NhanVien_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Tình trạng sản phẩm</a></td>
        </tr>
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_NhanVien_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Tình trạng đơn hàng</a></td>
        </tr>
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_NhanVien_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Tình trạng phiếu deal</a></td>
        </tr>
        <tr>
            <td align="left" style="width: 100px; background-color: #515856; height: 20px;">
                <a href="A_NhanVien_insert.aspx">
                    <img src="../admin/images/ArrowR2.gif" />Hình thức thanh toán</a></td>
        </tr>
    </table>

</div>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<table width="100%" cellspacing="1" cellpadding="3" border="0" bgcolor="#cccccc"> 
    <tr>
        <td colspan="2" style="color: #993300; background-color: #cccccc">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; Sản Phẩm Mới</td>
    </tr>
               <tr>
                    <td style="width:30%">Tên sản phẩm</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_TenSP" runat="server"></asp:TextBox>
                        <asp:Label ID="lbtensanpham" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr> 
                <tr>
                    <td style="width:30%">Loại sản phẩm</td>
                    <td style="width:67%">
                        <asp:DropDownList ID="ddl_LoaiSP" runat="server">
                        </asp:DropDownList>
                       <a href="A_LoaiHang_insert.aspx">Thêm loại hàng</a>&nbsp;
                        <asp:Label ID="lbloaisanpham" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>   
                     
                </tr>   
                <tr>
                    <td style="width:30%">Đơn Giá</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_dongia" runat="server"></asp:TextBox>
                        <asp:Label ID="lbdongia" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>           
                   <tr>
                    <td style="width:30%">Số Lượng Phiếu Bán</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_slphieuban" runat="server"></asp:TextBox>
                        <asp:Label ID="lbsoluongphieuban" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                  
                   <tr>
                    <td style="width:30%; height: 22px;">Giảm </td>
                    <td style="width:67%; height: 22px;">
                        <asp:TextBox ID="lit_giamgia" runat="server"></asp:TextBox>
                        <asp:Label ID="lbgiam" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>   
                
                 <tr>
                    <td style="width:30%">Phí Giao Hàng</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_phigiaohang" runat="server"></asp:TextBox>
                        <asp:Label ID="lbphigiaohang" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>   
                <tr>
                    <td style="width:30%">Chiết Khấu</td>
                    <td style="width:67%">
                        <asp:TextBox ID="lit_chietkhau" runat="server"></asp:TextBox>
                        <asp:Label ID="lbchietkhau" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>    
                 <tr>
                    <td style="width:30%; height: 36px;">Doanh Nghiệp</td>
                    <td style="width:67%; height: 36px;">
                        <asp:DropDownList ID="ddl_DoanhNghiep" runat="server">
                        </asp:DropDownList>
                        <a href="A_DoanhNghiep_insert.aspx">Thêm doanh nghiệp</a>
                        <asp:Label ID="lbdoanhnghiep" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>   
                 <tr>
                    <td style="width:30%; height: 22px;">Khu Vực</td>
                    <td style="width:67%; height: 22px;">
                        <asp:DropDownList ID="ddl_Khuvuc" runat="server">
                        </asp:DropDownList>
                        <a href="A_ThemKhuVuc.aspx">Thêm khu vực</a>
                        <asp:Label ID="lbkhuvuc" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>  
                 <tr>
                    <td style="width:30%; height: 22px;">Bắt Đầu</td>
                    <td style="width:67%; height: 22px;">
                        <asp:Calendar ID="Calendar1" runat="server"></asp:Calendar>
                        &nbsp;
                        <asp:Label ID="lbbatdau" runat="server" Font-Italic="True" ForeColor="Red" Text="Chưa Chọn Ngày Bắt Đầu" Visible="False" Width="201px"></asp:Label>
                        &nbsp;&nbsp;<asp:Label ID="lbngaybat_dau" runat="server" Font-Italic="True" ForeColor="Red"
                            Text="(*)" Visible="False"></asp:Label>
                    </td>
                </tr>  
                <tr>
                    <td style="width:30%">Kết Thúc</td>
                    <td style="width:67%">
                        &nbsp;
                        <asp:Calendar ID="calenketthuc" runat="server"></asp:Calendar>
                        &nbsp;
                        <asp:Label ID="lbketthuc" runat="server" Font-Italic="True" ForeColor="Red" Text="Chưa Chọn Ngày Kết Thúc" Visible="False" Width="198px"></asp:Label></td>
                </tr>   
                <tr>
                    <td style="width:30%; height: 22px;">Tình Trạng</td>
                    <td style="width:67%; height: 22px;">
                        <asp:DropDownList ID="ddl_tinhtrang" runat="server">
                        </asp:DropDownList>
                        <a href="A_Tinhtrang_sp_insert.aspx">Thêm</a>
                        <asp:Label ID="lbtinhtrang" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>   
                <tr>
                    <td style="width:30%">Mô Tả</td>
                    <td style="width:67%">
                        &nbsp;<FTB:FreeTextBox ID="lit_mota" runat="server" EnableSsl="True">
                        </FTB:FreeTextBox>
                        <asp:Label ID="lbmota" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                </tr>
                       <tr>
                           <td style="width: 30%">
                               Hình Ảnh :</td>
                           <td style="width: 67%">
                        
                           <asp:Image ID="img_Hinhanh" runat="server" Height="65px" Width="78px"/>
                        <asp:FileUpload ID="fu_Hinhanh" runat="server" class="multi"/>
                        <asp:Label ID="lbhinhanh" runat="server" Font-Italic="True" ForeColor="Red" Text="(*)" Visible="False"></asp:Label></td>
                       </tr>
                <tr>
                    <td style="height: 24px; background-color: #cccccc;" colspan="2" align="center"><asp:Button ID="btn_them" runat="server" Text="Thêm sản phẩm" OnClick="btn_them_Click"/></td>
                </tr>
               
            </table>
</asp:Content>

